package string;

public class ValueOfDemo {
    public static void main(String[] args) {
        int a = 100;
        String s1 = String.valueOf(a);//s1="100";
        System.out.println(s1);

        double d = 1.1;
        String s2 = String.valueOf(d);
        System.out.println(s2);

        String s3 = a + "";
    }
}
